add clarification stating that the construct_child function is responsible
authorRyan Lortie <desrt@desrt.ca>
Tue, 27 Nov 2007 03:25:09 +0000 (03:25 +0000)
committerRyan Lortie <ryanl@src.gnome.org>
Tue, 27 Nov 2007 03:25:09 +0000 (03:25 +0000)
commit08e15bbbaefa64f4c720831a0c20bd602a37c5fe
tree0efee7e6a032ae05307b35c21ca54f0003629c5f
parent490af125c23e521f217cb2280f573be1be1cc4dd
add clarification stating that the construct_child function is responsible

2006-11-26  Ryan Lortie  <desrt@desrt.ca>

        * docs/reference/gtk/tmpl/gtkbuildable.sgml: add clarification stating
        that the construct_child function is responsible for returning a
        reference.
        * gtkbuilder.c (_gtk_builder_construct): remove g_object_ref() for
        objects from constructors
        * gtkuimanager.c (gtk_ui_manager_buildable_construct_child): add
        g_object_ref() to this construction function (it's the only
        implementer in GTK)

        Fixes #496645.

svn path=/trunk/; revision=19075
ChangeLog
docs/reference/gtk/tmpl/gtkbuildable.sgml
gtk/gtkbuilder.c
gtk/gtkuimanager.c